import request from '@/utils/request'

// 获取邀请人下拉列表
export function salesInviterList() {
  return request({
    url: '/sales/analysis/inviterList',
    method: 'get',
  })
}
// 视频列表
export function videoList(params) {
  return request({
    url: '/douyin/video/ugc/works/video/list',
    method: 'get',
    params
  })
}
// 获取退款分析
export function salesRefundAnalysisData(params) {
  return request({
    url: '/sales/analysis/refundAnalysisData',
    method: 'get',
    params
  })
}
// 获取商户下拉列表
export function salesShopList() {
  return request({
    url: '/sales/analysis/shopList',
    method: 'get',
  })
}
// 获取详细数据
export function salesStatisticalData(params) {
  return request({
    url: '/sales/analysis/statisticalData',
    method: 'get',
    params
  })
}
// 获取交易数据
export function salesTransactionData(params) {
  return request({
    url: '/sales/analysis/transactionData',
    method: 'get',
    params
  })
}